package com.jniu.customviewprogram.actrivity;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.jniu.customviewprogram.R;
import com.jniu.customviewprogram.view.SlideBackLayout;

/**
 * 滑动删除的activity
 * 滑动和删除还有阴影都有实现了，
 * todo 有个问题，背景是黑色的，设置windowsBackground为透明色也无效，待解决
 */
public class SlideBackActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_slide_back);
        SlideBackLayout layout = new SlideBackLayout(this);
        layout.bind();
    }
}
